<template>
	<view style="position: relative;">
		<view class="item" v-for="item in 4">
			<view class="row">
				<image src="/static/images/check_n.png" class="check"></image>
				<image src="/static/images/lucky.png" class="icon"></image>
				<view class="title">这是商家名称</view>
			</view>
			<view class="col" style="margin-left: 80rpx;margin-top: 30rpx;">
				<view class="desc">所属地区：山东省 青岛市 黄岛区</view>
				<view class="desc">所属商圈：薛家岛商圈</view>
				<view class="bg row-between-center">
					<view class="sort">
						排序号
					</view>
					<view  style="width: 160rpx">
						<input class="input"/>
					</view>
					
				</view>
			</view>
		</view>
		<view style="height: 150rpx;"></view>
		<view class="bottom">
			<view class="btn row-center" @click="goSwiper">保存</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goSwiper(){
				uni.navigateTo({
					url:'/src/pages/merchant_index/swiper'
				})
			}
		}
	}
</script>
<style>
	page{
		background: #F2F3F8;
	}
</style>
<style scoped lang="scss">
	.bottom {
		width: 100%;
		bottom: 0;
		position: fixed;
		height: 120rpx;
		background: #FFF;
	
		.btn {
			margin-top: 20rpx;
			height: 80rpx;
			width: calc(100% - 72rpx);
			margin-left: 36rpx;
			margin-right: 36rpx;
			border-radius: 40rpx;
			background: #3B60D3;
			color: #FFF;
			font-size: 32rpx;
			font-style: normal;
			font-weight: 500;
			line-height: 48rpx;
		}
	}
	.item{
		padding: 32rpx 20rpx;
		margin: 20rpx;
		border-radius: 12rpx;
		background-color: white;
		.input{
			height: 160rpx;
			height: 56rpx;
			border-radius: 8rpx;
			border: 2rpx solid #DADADA;
			background: #FFF;
		}
		.icon{
			margin-left: 40rpx;
			width: 48rpx;
			height: 48rpx;
		}
		.title{
			margin-left: 20rpx;
			color:  #20252B;
			font-size: 32rpx;
			font-style: normal;
			font-weight: 500;
			line-height: 48rpx; /* 150% */
		}
		.desc{
			color:  #6A6876;
			font-size: 24rpx;
			font-style: normal;
			font-weight: 400;
			line-height: 40rpx; /* 166.667% */
		}
		.check{
			width: 36rpx;
			height: 36rpx;
		}
		.bg{
			padding: 20rpx;
			height: 80rpx;
			margin-top: 30rpx;
			border-radius: 12rpx;
			background: #F7F8FC;
		}
		.sort{
			color:  #6A6876;
			font-size: 24rpx;
			font-style: normal;
			font-weight: 400;
			line-height: 40rpx; /* 166.667% */
		}
	}
</style>
